<style>
<!--
	.ud_select{height:22px; border:1px solid #B3B3B3; padding: 2px 0px;}
-->
</style>

[#-- 创建一级配送区域（国家）自定义宏。参数说明：par_bdrList_country（国家列表）--]
[#macro ecs_ud_countryList par_bdrList_country]
	[#assign countryId = "" /]
	
	<select id="braCountry"  name="braCountry" onchange="selectRegion(this.value, 1)" class="ud_select">
		<option value="-1">请选择国家</option>
		[#if par_bdrList_country ??]
			[#list par_bdrList_country as data] 
				[#if data.bdrName == "中国"]
					<option value="${data.bdrId}" selected="selected">${data.bdrName}</option>
					[#assign countryId = data.bdrId /]
				[#else]
					<option value="${data.bdrId}">${data.bdrName}</option>
				[/#if]
			[/#list]	
		[/#if]
	</select>
	
	<script type="text/javascript">
	<!--
		// fun:user.js
		selectRegion("${countryId}", 1);
	//-->
	</script>
[/#macro]

[#-- 创建二级配送区域（省份）自定义宏。--]
[#macro ecs_ud_provinceList]
	<select id="braProvince" name="braProvince" onchange="selectRegion(this.value, 2)" class="ud_select">
		<option value="-1">请选择省</option>
	</select>
	
[/#macro]

[#-- 创建三级配送区域（城市）自定义宏。--]
[#macro ecs_ud_cityList]
	<select id="braCity" name="braCity" onchange="selectRegion(this.value, 3)" class="ud_select">
		<option value="-1">请选择市</option>
	</select>
[/#macro]

[#-- 创建四级配送区域（区县）自定义宏。--]
[#macro ecs_ud_districtList]
	<select id="braDistrict" name="braDistrict" class="ud_select">
		<option value="-1">请选择区/县</option>
	</select>
[/#macro]
